if (SERVER) then

	AddCSLuaFile( "shared.lua" )
	SWEP.Weight				= 5
	SWEP.AutoSwitchTo		= false
	SWEP.AutoSwitchFrom		= false
    SWEP.HoldType			= "smg"
	
end

if ( CLIENT ) then

	SWEP.ViewModelFOV		= 65
	
	SWEP.IconFont = "CSSelectIcons"
	
	SWEP.PrintName = "HK-UMP45"
	SWEP.Slot = 3
	SWEP.Slotpos = 0
	SWEP.IconLetter = "q"
	
	killicon.AddFont( "weapon_ump45_sg", "CSKillIcons", SWEP.IconLetter, Color( 255, 80, 0, 255 ) )

end

 SWEP.Base				= "tp_base"
 
 SWEP.IronSightsPos = Vector (7.3105, -3.8154, 2.4825)
 SWEP.IronSightsAng = Vector (0.4341, 0.3034, 1.1927)

 SWEP.Spawnable = true;
 SWEP.AdminSpawnable = true;

 SWEP.ViewModel = "models/weapons/v_smg_ump45.mdl"
 SWEP.WorldModel = "models/weapons/w_smg_ump45.mdl"
 
 SWEP.IronSightsPos 		= Vector( 7.25, -4, 2.6 )

 SWEP.Primary.Sound			= Sound( "weapons/ump45/ump45-1.wav" )
 SWEP.Primary.Recoil			= 1.6
 SWEP.Primary.Damage			= 19
 SWEP.Primary.NumShots		      = 1
 SWEP.Primary.Cone			= 0.028
 SWEP.Primary.ClipSize              = 25
 SWEP.Primary.Delay			= 0.115
 SWEP.Primary.Automatic             = true;
 SWEP.Primary.Ammo                  = "smg1";

 SWEP.Secondary.Clipsize            = -1;
 SWEP.Secondary.DefaultClip         = -1;
 SWEP.Secondary.Automatic           = false;
 SWEP.Secondary.Ammo                = "none";  
 SWEP.Secondary.Delay			= 4

